package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安防附件对象 security_activity
 * 
 * @author ruoyi
 * @date 2021-07-22
 */
public class SecurityActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long saId;

    /** 路由 */
    @Excel(name = "路由")
    private String asUrl;

    /** 外键 */
    @Excel(name = "外键")
    private Long srId;

    public void setSaId(Long saId) 
    {
        this.saId = saId;
    }

    public Long getSaId() 
    {
        return saId;
    }
    public void setAsUrl(String asUrl) 
    {
        this.asUrl = asUrl;
    }

    public String getAsUrl() 
    {
        return asUrl;
    }
    public void setSrId(Long srId) 
    {
        this.srId = srId;
    }

    public Long getSrId() 
    {
        return srId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("saId", getSaId())
            .append("asUrl", getAsUrl())
            .append("srId", getSrId())
            .toString();
    }
}
